/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.institution.service.api;

import com.koron.common.bean.StaffBean;
import org.swan.bean.MessageBean;

import java.util.Map;

public interface ReviseService {

    MessageBean<?> getReviseList(String corpCode, Integer reviseYear, String institutionName, Integer page, Integer pageSize, Integer state, StaffBean user);

    MessageBean<?> getReviseDraftList(String corpCode, Integer reviseYear, String institutionName, Integer page, Integer pageSize, Integer state, StaffBean user);

    MessageBean<?> saveOrCommit(StaffBean user, String corpCode, Integer operationType, String reviseAssessmentListStr, String approverCodeListStr, String jobsTaskId, Integer reviseYear);

    Map<String, Object> queryExportData(String title, StaffBean user, String corpCode, String corpName, Integer reviseYear);

    MessageBean<?> getProcessData(String ids);

    MessageBean<?> getInstitutionSelect(String corpCode, Integer institutionType, String name, Integer reviseYear);

    MessageBean<?> batchEdit(StaffBean user, String corpCode, String reviseAssessmentHistoryListStr,
                             String approverCodeListStr);

    MessageBean<?> batchDiscard(StaffBean user, String corpCode, String reviseAssessmentHistoryListStr,
                                String approverCodeListStr);

    MessageBean<?> deleteDraft(String reviseAssessmentId);

    MessageBean<?> getReviseHistoryListByIds(String businessIds);
}
